package cn.micai.base.string;

/**
 * 描述：
 * <p>
 *
 * @author: 赵新国
 * @date: 2018/6/11 11:02
 */
public class StringCharAtMain {

    public static void main(String [] args) {

        String str = "java2blog";
        System.out.println("char at index 5: " + str.charAt(5));
        System.out.println("char at index 7: " + str.charAt(7));

    }
}
